home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The PC-SIG Library 10
/
The PC-Sig Library - Shareware for the IBM PC and Compatibles (PC-SIG)(Tenth Edition Disks 1-2804)(1991).iso
/
PC_SIGCD
/
07
/
8
/
DISK0786.ZIP
/
TOOLS1.ARC
/
PASSWORD.DOC
< prev
next >
Wrap
Text File
|
1987-03-09
|
2KB
|
53 lines
PASSWORD.BAS
(Version 1.2)
This BASICA 2.0 program reads a password from a user-defined file called
PASSWORD.DAT and compares it character-by character with the keyboard entry
of the password. It starts over each time an error of any kind is made and
locks the system into a loop after three errors are made.
During the running of PASSWORD.BAS the control sequences Ctrl-Alt-Del,
Ctrl-C, & Ctrl-Break are disabled.
To control a password-controlled system, create an autoexec.bat file as
follows on each system disk or in the root (\) directory of your hard disk:
Prompt user enters
------ --------------------------
A> copy con autoexec.bat | & press {return}
basica password | & press {return}
date | & press {return}
time | & press {return}
{F6} or {Ctrl}Z | & press {return}
If you alseady have an Autoexec.bat file simply edit the file so that the
line "basica password" is the first one in the file.
Naturally, BASICA.COM, PASSWORD.DAT, and the above AUTOEXEC.BAT files must
all be on the system disk in the root directory.
A password file called PASSWORD.DAT has already been created with the
password of 'system manager'. If you want a different password enter:
Prompt user enters
------ --------------------------
A> copy con password.dat | & press {return}
{your password} | & press {return}
{F6} or {Ctrl}Z | & press {return}
If you forget your password the program allows the character "}" as an
alternate.
07/10/84 - Version 1.1 now supports color (also works fine on IBM
or equivalent high-res monochrome monitors). Have fun!
03/05/87 - Version 1.2 has a few niceties added, like it won't stamp
over your INT vectors when an impoper password is entered.
I've also removed the annoying color added to version 1.1.
NOTE: keep in mind it's still possible to access any system by
booting from a DOS system disk in drive A:.